import zrender from 'zrender'
const img = require('../img/github.png')
export default () => {
  console.log('start running...')
  console.log(zrender)
  var zr = zrender.init(document.getElementById('main'))
  var polyline = new zrender.Polyline({
    shape: {
      points: [
        [100, 50],
        [200, 50],
        [200, 200]
      ]
    },
    style: {
      fill: 'none',
      stroke: 'red',
      lineWidth: 4
    }
  })
  zr.add(polyline)
}